#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    float c = 0.0, math = 0.0, english = 0.0;
    int n = 0;
    scanf("%d;%f,%f,%f", &n, &c, &math, &english);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", n, c, math, english);
    return 0;
}
//bc12